package com.example.opengldemo._camera_demo.renderer;

import android.content.res.Resources;

public class StickFigureFilter extends GroupFilter {

    public StickFigureFilter(Resources resources){
        super(resources);
    }

    @Override
    protected void initBuffer() {
        super.initBuffer();
        addFilter(new GrayFilter(mRes));
        addFilter(new BaseFuncFilter(mRes,BaseFuncFilter.FILTER_GAUSS));
        addFilter(new BaseFuncFilter(mRes,BaseFuncFilter.FILTER_SOBEL_REVERSE));
    }
}
